/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*-  */
/*
 * catchit
 * Copyright (C) 2013 Ryan Grinkewitz <graphite@Toto>
 * 
 */

#ifndef _LEVEL_H_
#define _LEVEL_H_

#include "SDL/SDL.h"
#include "platform.h"

class Level
{
public:

	Level(int levelSize = 10);
	~Level();

	int getLevelSize(){return levelSize;};
	Platform* getPlatform(int index);
	void insertPlatform(Platform* platform, int index);
	void updateLevelYPosition(int yPosition);
	int getLevelYPosition(){return yPosition;};
	int getLevelState();
protected:

private:

	const static int DEFAULT_LEVEL_SIZE = 10;	
	

	int levelSize;
	int yPosition;
	int levelState;
	Platform** platforms;
};

#endif // _LEVEL_H_

